//
//  TMCourseDetailModel.h
//  国学培训用户端
//
//  Created by Tao Li on 2018/8/21.
//  Copyright © 2018年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface TMCourseDetailModel : NSObject
@property (nonatomic, copy) NSString* course;
@property (nonatomic, copy) NSString* type_name;
@property (nonatomic, copy) NSString* username;
@property (nonatomic, copy) NSString* userimage;
@property (nonatomic, copy) NSString* abstract;
@property(nonatomic, strong) NSString                     *under;/**< <##> */
@property (nonatomic, assign) NSInteger car_num;

@property (nonatomic, assign) NSInteger uid;
@property (nonatomic, assign) NSInteger coll;
@property (nonatomic, assign) NSInteger course_num;
@property (nonatomic, copy) NSString* suggest;
@property (nonatomic, copy) NSString *addr;
@property (nonatomic, strong) NSArray *pic;
@property (nonatomic, strong) NSArray *photo;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, assign) double price;
@property (nonatomic, assign) double agio_price;//会员打折价
@property (nonatomic, assign) NSInteger rank; //0 1 不打折
@property (nonatomic, copy) NSString * tea_name;
@property (nonatomic, assign) NSInteger cid;
@property (nonatomic, assign) NSInteger bespeak;
@property (nonatomic, assign) NSInteger bid;//预约id

@property (nonatomic, copy) NSString * coupon;
//@property (nonatomic, copy) NSString * coupon_num;
@property (nonatomic, copy) NSString * create_time;
@property (nonatomic, copy) NSString * down_time;/**< 下架时间 */
@property(nonatomic, strong) NSString                     *end_time;/**< 结课时间 */
//@property (nonatomic, copy) NSString * end_time;
@property (nonatomic, copy) NSString * ground_time;
@property (nonatomic, copy) NSString * r_money;
@property (nonatomic, copy) NSString * s_time;
@property (nonatomic, copy) NSString * start_time;
@property (nonatomic, copy) NSString * teacher;
@property (nonatomic, assign) NSInteger type_id;
@property (nonatomic, assign) NSInteger sid;
@property (nonatomic, assign) NSInteger person;
@property (nonatomic, assign) NSInteger num;
@property (nonatomic, assign) NSInteger is_open;
@property (nonatomic, assign) NSInteger coupon_num;

@property (nonatomic, assign) NSInteger surplus;
@property (nonatomic, assign) NSInteger views;
@property (nonatomic, assign) NSInteger sale;
@property (nonatomic, assign) NSInteger is_check;


@property (nonatomic, strong) NSArray *no;
@property (nonatomic, strong) NSArray *yes;


// 评价。
@property (nonatomic, assign) NSInteger total;
@property (nonatomic, assign) NSInteger average;

@property (nonatomic, assign) BOOL show;
@property (nonatomic, copy) NSString *url;//上课二维码。
@property (nonatomic, assign) NSInteger totalPage;
@end


@interface TMRecordsModel : NSObject
@property (nonatomic, copy) NSString * username;
@property (nonatomic, copy) NSString * name;
@property (nonatomic, copy) NSString * create_time;
@property (nonatomic, copy) NSString * end_time;
@property (nonatomic, assign) NSInteger te_id;
@property (nonatomic, assign) NSInteger minute;
//"te_id": 1,
//"username": "官方",
//"name": "雅思",
//"create_time": 1532507911,
//"end_time": 1532507999,
//"minute": 1
@end
